package com.javasm.adminapi.module.product.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 品牌表(TBrand)表实体类
 *
 * @author makejava
 * @since 2025-10-17 23:18:59
 */
@SuppressWarnings("serial")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TBrand extends Model<TBrand> {
//主键
    @TableId(type = IdType.AUTO)
    private Integer id;
//品牌编号
    private String brandNum;
//品牌名称
    private String brandName;
//所属的类目ID
    private Integer cateId;
//品牌网址
    private String brandWeb;
//品牌 logo URL
    private String brandLogo;
//品牌描述
    private String brandDesc;
//排序值，越小越靠前
    private String sortOrder;
//启用状态：1-启用 0-禁用
    private Integer isEnabled;
//创建人
    private String createdBy;
//创建时间
    private Date createdTime;
//更新人
    private String updatedBy;
//更新时间
    private Date updatedTime;
//逻辑删除：1-已删 0-未删
    private Integer isDeleted;
    @TableField(exist = false)
    private Integer categoryId;
}
